package jmm;

public class LocalVariable {
    public static void main(String[] args) {
        LocalVariable localVariable = new LocalVariable();
        localVariable.show1();
    }

    public void show1() {
        int i=1;
        show2(i);
        System.out.println("show1中的i="+i);
    }

    public void show2(int i) {
        i=i+1;
        System.out.println("show2中的i="+i);
    }
}
